import cv2
import numpy as np

fire = cv2.imread('bilibili.png')
kernel = np.ones((10,10),np.uint8)
dilate_1 = cv2.dilate(fire,kernel,iterations = 1)
dilate_2 = cv2.dilate(fire,kernel,iterations = 2)
dilate_3 = cv2.dilate(fire,kernel,iterations = 3)
res = np.hstack((dilate_1,dilate_2,dilate_3))
cv2.imshow('res',res)
cv2.waitKey(0)
cv2.destroyAllWindows()